<?php
class Form_Payment extends Zend_Form
{
	public function init()
	{

// 		$this->setAction('check');
		$this->setMethod('post');
		$this->setDescription("Payment");
		$this->setAttrib('sitename', 'Foodies');
			
		$this->addElement('text', 'name');
		$nameElement = $this->getElement('name');
		$nameElement->setLabel('Name of Card Owner:*');
			
			
		$this->addElement('text', 'numcard');
		$numcardElement = $this->getElement('numcard');
		$numcardElement->setLabel('Number Card:*');

		$this->addElement('button', 'submit');
		$submitButton = $this->getElement('submit');
		$submitButton->setLabel('Pay');
		$submitButton->setAttrib('class', 'button');
		$submitButton->setAttrib('id', 'paymentButton');


	}
}
?>